package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 网版配置对象 a_ware_wb
 * 
 * @author ruoyi
 * @date 2025-03-15
 */
public class AWareWb extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 组织 */
    @Excel(name = "组织")
    private String groupId;

    /** 网版类型 */
    @Excel(name = "网版类型")
    private String wbtype;

    /** 网版批次 */
    @Excel(name = "网版批次")
    private String wbbatch;

    /** 上线次数 */
    @Excel(name = "上线次数")
    private Long toalT;

    /** 下线次数 */
    @Excel(name = "下线次数")
    private Long toalL;

    /** 剩余次数 */
    @Excel(name = "剩余次数")
    private Long remaining;

    /** 机台 */
    @Excel(name = "机台")
    private String eqpid;

    /** 网版寿命 */
    @Excel(name = "网版寿命")
    private BigDecimal lifetime;

    /** 是否足够  0 不足  1足够 */
    private String ifEnough;

    public String getIfEnough() {
        return ifEnough;
    }

    public void setIfEnough(String ifEnough) {
        this.ifEnough = ifEnough;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGroupId(String groupId) 
    {
        this.groupId = groupId;
    }

    public String getGroupId() 
    {
        return groupId;
    }
    public void setWbtype(String wbtype) 
    {
        this.wbtype = wbtype;
    }

    public String getWbtype() 
    {
        return wbtype;
    }
    public void setWbbatch(String wbbatch) 
    {
        this.wbbatch = wbbatch;
    }

    public String getWbbatch() 
    {
        return wbbatch;
    }
    public void setToalT(Long toalT) 
    {
        this.toalT = toalT;
    }

    public Long getToalT() 
    {
        return toalT;
    }
    public void setToalL(Long toalL) 
    {
        this.toalL = toalL;
    }

    public Long getToalL() 
    {
        return toalL;
    }
    public void setRemaining(Long remaining) 
    {
        this.remaining = remaining;
    }

    public Long getRemaining() 
    {
        return remaining;
    }
    public void setEqpid(String eqpid) 
    {
        this.eqpid = eqpid;
    }

    public String getEqpid() 
    {
        return eqpid;
    }
    public void setLifetime(BigDecimal lifetime) 
    {
        this.lifetime = lifetime;
    }

    public BigDecimal getLifetime() 
    {
        return lifetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("groupId", getGroupId())
            .append("wbtype", getWbtype())
            .append("wbbatch", getWbbatch())
            .append("toalT", getToalT())
            .append("toalL", getToalL())
            .append("remaining", getRemaining())
            .append("eqpid", getEqpid())
            .append("lifetime", getLifetime())
            .toString();
    }
}
